package com.lzq.chatroom_project.service;


import com.lzq.chatroom_project.model.Message;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public interface IMessageService {

    List<Message> getMessageList(Integer sessionId,Integer userId);

    List<Message> getHistoryMessageByDate(Integer sessionId, LocalDate date);

    List<Message> getHistoryMessageByKeyword(Integer sessionId, String keyword);
}
